package com.wfm.entity;

import javax.persistence.Column;
import javax.persistence.Entity; 
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractEntity;
/**
 * 流程定义—路径
 *
 */
@Entity 
@Table(  uniqueConstraints = { 
	    @UniqueConstraint(columnNames = {"NAME","FROM_NID","TO_NID" }
	     )}
)
public class TB_WFM_DEF_TRANS extends AbstractEntity { 
	private static final long serialVersionUID = 1L;
	@Column(length=32,nullable=false)
	private String WFID; // 流程ID TB_WFM_DEF_WORKFLOW.ID   
	@Column(length=40,nullable=false )
	private String NAME;//路径名称 
	@Column(length=32,nullable=false)
	private String FROM_NID;   //TB_WFM_DEF_NODE.ID
	@Column(length=32,nullable=false)
	private String TO_NID;    //TB_WFM_DEF_NODE.ID
	public String getWFID() {
		return WFID;
	}
	public void setWFID(String wFID) {
		WFID = wFID;
	}
	public String getNAME() {
		return NAME;
	}
	public void setNAME(String nAME) {
		NAME = nAME;
	}
	public String getFROM_NID() {
		return FROM_NID;
	}
	public void setFROM_NID(String fROM_NID) {
		FROM_NID = fROM_NID;
	}
	public String getTO_NID() {
		return TO_NID;
	}
	public void setTO_NID(String tO_NID) {
		TO_NID = tO_NID;
	}
	
 
	
}
